import { computed, defineComponent, ref } from 'vue';
import Image from './Image.vue';
import ScopedSlot from './ScopedSlot.vue';
import Speed from './Speed.vue';
import Video from './Video.vue';

export default defineComponent({
  name: 'App',
  props: {},
  emits: [],

  setup(props, { attrs, emit, expose, slots }) {
    expose({});

    return () => {
      return (
        <div class='block'>
          <div class='block-'>
            <h5 class='title'>Image</h5>
            <Image />
          </div>
          <div class='block-'>
            <h5 class='title'>ScopedSlot</h5>
            <ScopedSlot />
          </div>
          <div class='block-'>
            <h5 class='title'>Speed</h5>
            <Speed />
          </div>
          <div class='block-'>
            <h5 class='title'>Video</h5>
            <Video />
          </div>
        </div>
      );
    };
  },
});
